package com.syaccp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.syaccp.model.OrderInfo;

/**
 * 针对表【t_order(订单表)】的数据库操作Service
 *
 * @author Lyh
 * @since 2023-07-12 11:03:55
 */
public interface OrderInfoService extends IService<OrderInfo> {

    PageInfo<OrderInfo> queryOrderInfoByPage(OrderInfo orderInfo, Integer index);

    OrderInfo queryOrderInfoByOrderId(Integer id);

    Integer deleteOrderInfoById(Integer orderId);

    Integer insertOrderInfo(OrderInfo orderInfo);

    Integer payMoney(OrderInfo orderInfo);

    Integer updateOrderAndTaskInfo(OrderInfo orderInfo);
}
